package com.bd.scm.domain.models.log;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mason
 * @since 2019-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wt_mj_log_real")
public class WtMjLogReal extends Model<WtMjLogReal> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "xh", type = IdType.AUTO)
    private Integer xh;
    private Integer lx;
    @TableField("log_type")
    private Integer logType;
    @TableField("log_state")
    private Integer logState;
    @TableField("log_bz")
    private String logBz;
    @TableField("log_sj")
    private Date logSj;
    @TableField("log_ip")
    private String logIp;
    @TableField("gly_no")
    private String glyNo;
    private String regserial;


    @Override
    protected Serializable pkVal() {
        return this.xh;
    }

}
